/*******************************************************************************
 * Copyright 2007 NetCom. All rights reserved.
 ******************************************************************************/

package com.dailydev.jira.portal;

import com.opensymphony.user.EntityNotFoundException;
import com.opensymphony.user.User;

/**
 * @author robo9109
 * 
 */
public interface IJiraFacade {

    /**
     * @param userName
     * @return
     * @throws EntityNotFoundException
     */
    User getUser(String userName) throws EntityNotFoundException;

    /**
     * @param groupName
     * @param user
     * @return
     */
    boolean hasViewGroupPermission(String groupName, User user);
}
